/**
 * 
 */
package registnet.courseDemand;

import registnet.dao.ClassroomView;

/**
 * The room and schedule pair class. It holds the room available/vacant in the
 * SchedulePair
 * 
 * @author Dexter Ryan Carrasco
 */
public class RoomAndSkedPair {

	/** The room */
	private ClassroomView room;

	/** The schedule pair */
	private SchedulePair schedule;

	/** Default Constructor for RoomAndSkedPair */
	public RoomAndSkedPair() {
	}

	/** Constructor with room and schedule pair specified */
	public RoomAndSkedPair(final ClassroomView room, final SchedulePair schedule) {
		this.room = room;
		this.schedule = schedule;
	}

	/**
	 * Gets the classroom
	 * 
	 * @return the room
	 */
	public ClassroomView getRoom() {
		return this.room;
	}

	/**
	 * Gets the schedule pair
	 * 
	 * @return the schedule
	 */
	public SchedulePair getSchedule() {
		return this.schedule;
	}

	/**
	 * Sets the classroom
	 * 
	 * @param room
	 *            the room to set
	 */
	public void setRoom(final ClassroomView room) {
		this.room = room;
	}

	/**
	 * Sets the schedule pair
	 * 
	 * @param schedule
	 *            the schedule to set
	 */
	public void setSchedule(final SchedulePair schedule) {
		this.schedule = schedule;
	}

}
